var n = getApp();

Page({
    data: {
        member: {},
        payment_status: "0",
        quick_pay: "0"
    },
    onLoad: function(n) {
        this.getData();
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    gotoLove: function() {
        wx.navigateTo({
            url: "/packageA/others/HJinfo/bankcardin/bankcardin"
        });
    },
    toShaky: function() {
        wx.navigateTo({
            url: "/packageD/quickPay/member_choose_bank/member_choose_bank"
        });
    },
    getData: function() {
        var t = this, a = n.getNetAddresss("plugin.converge_pay.frontend.controllers.home.index");
        n._getNetWork({
            url: a,
            showToastIn: !1,
            success: function(n) {
                var a = n.data;
                1 == a.result ? t.setData({
                    member: a.data.member,
                    quick_pay: a.data.quick_pay,
                    payment_status: a.data.payment_status
                }) : wx.showToast({
                    icon: "none",
                    title: a.msg,
                    duration: 1500
                });
            },
            fail: function(n) {
                console.log(n.msg);
            }
        });
    }
});